package com.flycms.module.links.model;

import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;
import java.util.Date;

/**
 * 友情链接实体
 */
@Setter
@Getter
public class Links implements Serializable {
	private static final long serialVersionUID = 1L;
	private Long id;
	private int type;
	@NotEmpty(message="请填写网站名称！")
	private String linkName;
	@NotEmpty(message="请填写网站网址！")
	private String linkUrl;
	private String linkLogo;
	private int isShow;
	private int sort;
	//创建日期
	private Date createTime;
}
